<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../js/layui/css/layui.css" />
	</head>
	<body>
		<!-- 表头表单模糊查询开始 -->
		<form class="layui-form" action="" id="layui-formone">
			<div class="layui-inline">
				<label class="layui-form-label">班级</label>
				<div class="layui-input-inline">
					<select name="search_class" lay-filter="search_class" id="search_class">
						<option value=""></option>
					</select>
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">课程</label>
				<div class="layui-input-inline">
					<select name="search_course" lay-filter="search_course" id="search_course">
						<option value=""></option>
					</select>
				</div>
			</div>
			<div class="layui-inline">
				<label class="layui-form-label">作业标题</label>
				<div class="layui-input-inline">
					<input type="text" name="search_taskname" id="search_taskname" class="layui-input">
				</div>
			</div>
			<div class="layui-inline">
				<button type="submit" class="layui-btn" lay-submit="" lay-filter="search">查询</button>
			</div>
		</form>
		<!-- 表头表单模糊查询结束 -->
		<table class="layui-hide" id="taskList" lay-filter="taskList"></table>
		<!-- 发布作业开始 -->
		<form class="layui-form" action="" id="addTaskForm" lay-filter="addTaskForm"
			style="padding-right: 20px;display: none;">
			<div class="layui-form-item" style="display: none;">
				<label class="layui-form-label">编号</label>
				<div class="layui-input-block">
					<input type="text" name="taskid" id="taskid" placeholder="请输入作业标题" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">班级名称</label>
				<div class="layui-input-block">
					<select name="cid" lay-filter="cid" id="cid">
						<option value=""></option>
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">课程名称</label>
				<div class="layui-input-block">
					<select name="coid" lay-filter="search_course" id="coid">
						<option value=""></option>
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">作业标题</label>
				<div class="layui-input-block">
					<input type="text" name="taskname" id="taskname" placeholder="请输入作业标题" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">作业内容</label>
				<div class="layui-input-block">
					<input type="text" name="content" id="content" placeholder="请输入作业内容" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button type="submit" class="layui-btn" lay-submit="" lay-filter="addTaskBtn">发布作业</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</form>
		<!-- 发布作业结束 -->
		<!-- 作业详情开始 -->
		<div id="studentTaskListdiv" style="display: none;">
			<table class="layui-hide" id="studentTaskList" lay-filter="studentTaskList"></table>
		</div>
		<!-- 作业详情结束 -->
	</body>
	<script type="text/html" id="taskToolbarDemo" style="display: none;">
		<div class="layui-btn-container">
			<button class="layui-btn layui-btn-sm" lay-event="addTask">发布作业</button>
		</div>
	</script>

	<script type="text/html" id="taskBarDemo">
		<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="looktask">查看作业</a>
		<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
		<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
	</script>
	<script src="../js/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/layui/layui.js" type="text/javascript" charset="utf-8"></script>
	<script src="tasklist.js" type="text/javascript" charset="utf-8"></script>
	<script src="tasklistStudent.js" type="text/javascript" charset="utf-8"></script>
</html>
